<?php


namespace Part17_AdapterMode\Code2;

/**
 * 后卫类
 */
class Guards extends Player
{
    public function Attack()
    {
        echo "后卫{$this->name}进攻\n";
    }

    public function Defence()
    {
        echo "后卫{$this->name}防守\n";
    }
}